<template>
    <view class="sub_content">
        <view class="shop_name">高德置地夏广场店</view>
        <view class="goods_list">
            <view class="goods_item">
                <view class="good_left">
                    <image src="https://img.fy6b.com/2023/02/23/f2917f486f0b4.png"></image>
                    <view>
                        <view class="goods_title">蒜香大虾</view>
                        <view class="size">免辣/免葱</view>
                    </view>
                </view>
                <view class="good_ri">
                    <view class="good_price">￥138.80</view>
                    <view class="good_count">x1</view>
                </view>
            </view>
        </view>
        <view class="goods_pack">
            <view class="pack">打包费</view>
            <view class="pack_price">￥0</view>
        </view>
        <view class="goods_tatol_price">
            <text class="total">合计</text> ￥ 138.80
        </view>
    </view>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.sub_content {
    background-color: #fff;
    padding: 40rpx 30rpx;
    margin-top: 20rpx;
    border-radius: 24rpx;

    .shop_name {
        font-size: 30rpx;
        font-family: PingFang SC;
        font-weight: 500;
        color: #222222;
        margin-bottom: 29rpx;
    }

    .goods_list {
        .goods_item {
            display: flex;
            justify-content: space-between;

            .good_left {
                display: flex;

                image {
                    width: 160rpx;
                    height: 160rpx;
                    margin-right: 20rpx;
                }

                .goods_title {
                    font-size: 30rpx;
                    font-family: PingFang SC;
                    font-weight: 500;
                    color: #222222;
                    margin-top: 6rpx;
                }

                .size {
                    font-size: 24rpx;
                    font-family: PingFang SC;
                    font-weight: 400;
                    color: #999999;
                    margin-top: 29rpx;
                }
            }

            .good_ri {
                .good_price {
                    margin-top: 6rpx;
                    font-size: 32rpx;
                    font-family: PingFang SC;
                    font-weight: 300;
                    color: #222222;
                }

                .good_count {
                    font-size: 30rpx;
                    font-family: PingFang SC;
                    font-weight: 400;
                    color: #999999;
                    text-align: right;
                    margin-top: 20rpx;
                }
            }
        }
    }

    .goods_pack {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20rpx 0;

        .pack {
            font-size: 28rpx;
            font-family: PingFang SC;
            font-weight: 400;
            color: #222222;
        }

        .pack_price {
            font-size: 32rpx;
            font-family: PingFang SC;
            font-weight: 300;
            color: #222222;
        }
    }

    .goods_tatol_price {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        font-size: 36rpx;
        font-family: PingFang SC;
        font-weight: 500;
        color: #222222;
        margin-top: 20rpx;

        .total {
            font-size: 28rpx;
            font-family: PingFang SC;
            font-weight: 400;
            color: #999999;
            margin-right: 21rpx;
        }
    }
}
</style>